import React from 'react'
import { useRouter } from 'next/navigation'


export default function Page() {


  const router = useRouter()


  // 登陆
  const login = () => {
    router.push('/index')
  }
  return (
    <div>
      <button onClick={login}>登陆</button>
    </div>
  )
}
